﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_Flow_UpdateDocument]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_Flow_UpdateDocument];
GO
CREATE PROCEDURE [dbo].[sproc_Flow_UpdateDocument]
    @SQL ntext
AS
EXEC (@SQL)